import random
s = ''
for j in range(4):
    if random.randint(0, 1) == 0:
        s = s + chr(random.randint(65, 90))
    else:
        s = s+ chr(random.randint(97, 122))
print(s)